package CreativePattern.SingletonPattern.StaticInnerClass;

public class Singleton {
    private Singleton() {
    }
    public static Singleton getInstance() {
        return holder.INSTANCE;
    }

    private static class holder{
        private final static Singleton INSTANCE = new Singleton();
    }
}
